import request from '@/plugin/axios'
import util from '@/libs/util.js'

export default {

	list (data) {
		return request({
			url: 'tradeOrderDetail/list',
			headers: {},
			method: 'post',
			data,
		});
	},

	info (data) {
		return request({
			url: 'tradeOrderDetail/get',
			headers: {},
			method: 'post',
			data,
		});
	},

	handleTransStatusFail (data) {
		return request({
			url: 'tradeOrderDetail/handletransstatusfail',
			headers: {},
			method: 'post',
			data,
		});
	},

	handleChecked (data) {
		return request({
			url: 'tradeOrderDetail/handlechecked',
			headers: {},
			method: 'post',
			data,
		});
	},

	exportExcel (data) {
		return request({
			url: 'tradeOrderDetail/exportExcel',
			headers: {},
			method: 'post',
			data,
		});
	},

	isFrozenOptions (data) {
		return request({
			url: 'tradeOrderDetail/isFrozenOption',
			headers: {},
			method: 'post',
			data,
		});
	},

	isThawOptions (data) {
		return request({
			url: 'tradeOrderDetail/isThawOption',
			headers: {},
			method: 'post',
			data,
		});
	},

	isDisOptions (data) {
		return request({
			url: 'tradeOrderDetail/isDisOption',
			headers: {},
			method: 'post',
			data,
		});
	},

	isRefundOptions (data) {
		return request({
			url: 'tradeOrderDetail/isRefundOption',
			headers: {},
			method: 'post',
			data,
		});
	},

	isSettleOptions (data) {
		return request({
			url: 'tradeOrderDetail/isSettleOption',
			headers: {},
			method: 'post',
			data,
		});
	},

};